package com.ruoyi.qiushi.service.mall;

import java.util.List;

import com.ruoyi.qiushi.domain.mall.TradePointOrder;

/**
 * 积分商品订单Service接口
 *
 * @author ruoyi
 * @date 2023-12-27
 */
public interface ITradePointOrderService {
    /**
     * 查询积分商品订单
     *
     * @param id 积分商品订单主键
     * @return 积分商品订单
     */
    public TradePointOrder selectTradePointOrderById(Long id);

    /**
     * 查询积分商品订单列表
     *
     * @param tradePointOrder 积分商品订单
     * @return 积分商品订单集合
     */
    public List<TradePointOrder> selectTradePointOrderList(TradePointOrder tradePointOrder);

    /**
     * 新增积分商品订单
     *
     * @param tradePointOrder 积分商品订单
     * @return 结果
     */
    public int insertTradePointOrder(TradePointOrder tradePointOrder);

    /**
     * 修改积分商品订单
     *
     * @param tradePointOrder 积分商品订单
     * @return 结果
     */
    public int updateTradePointOrder(TradePointOrder tradePointOrder);

    /**
     * 删除积分商品订单信息
     *
     * @param id 积分商品订单主键
     * @return 结果
     */
    public int deleteTradePointOrderById(Long id);
}
